-
Notifications
You must be signed in to change notification settings - Fork 235
improve: event filtering algorithm for multiple parallel updates #3155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
shawkins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense. To drive home the usage pattern you could consider collapsing decreaseActiveUpdates, handleLastOwnUpdatedResourceVersion, and getActiveUpdates to a single call -
int decreaseActiveUpdates(String resourceVersion)
did some simplification; feel free to do additional (in this or separate pr), and mainly thank you for feedback! |
metacosm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't follow the latest changes in this area so I'm not qualified to assert the validity of this PR.
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
f7e28b8 to
818bc0d
Compare
Signed-off-by: Attila Mészáros a_meszaros@apple.com